package com.mycony.demo30;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class HelloController {
	
	@RequestMapping("/")
	public String index(){
		return  "index";
	}
	
	@RequestMapping("/hello")
	public String hello(){
		return "hello-(spring security)";
	}
	

	 @RequestMapping(value = "/login", method = RequestMethod.GET)
	    public String login() {
	        return "login";
	    }
	

}
